<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	<script src="../libs/vue.js" type="text/javascript"></script>
	</head>
	<body>
		
		<div id="root">
			<input type="text" v-model="userName">
			
		</div>
		<script>
			var vm = new Vue({
				el:'#root',
				data: {
					userName:'zlj'
				},
				mounted() {
					
				},
				methods:{
					changeName:function(){
						this.userName='zhenglijun';
					}
				}
				
			});
		</script>
	</body>
</html>
